<?php $this->pageTitle = 'Dashboard'; ?>
<div class="block block-welcome">
    <div class="block-content">
        <h1>Hi, <?php echo Yii::app()->user->name ?>!</h1>
        <p>Welcome to your Investor System admin panel. Here you can control your Investor System and all contents of it.</p>
    </div>
</div>
<div class="block">
    <div class="block-title">
        <h2>Site Statistical Summary</h2>
    </div>
    <div class="block-content">
        <table class="table">
            <tbody>
                <tr>
                    <td class="striping">Total Users</td>
                    <td><?php echo $total['user']; ?></td>
                    <td class="striping">Total States</td>
                    <td><?php echo $total['states']; ?></td>
                    <td class="striping">Total Questions</td>
                    <td><?php echo $total['questions']; ?></td>
                </tr>
                <tr>
                    <td class="striping">Total Loan Types</td>
                    <td><?php echo $total['loan_types']; ?></td>
                    <td class="striping">Total Loan Terms</td>
                    <td><?php echo $total['loan_terms']; ?></td>
                    <td class="striping">Total Loan Ratings</td>
                    <td><?php echo $total['loan_ratings']; ?></td>
                </tr>
            </tbody>
        </table>
    </div>
</div>